﻿

namespace Forest.Lion.Web {
    using System.Security.Principal;
    using Forest.Lion.Web.Models;
    public static class PrincipalExtensions {
        public static AppIdentity AppIdentity(this IPrincipal principal) {
            return (AppIdentity)principal.Identity;
        }
    }
}